﻿using System.Web;
using System.Web.Optimization;

namespace SistemaAdministracion
{
    public class BundlesConfig
    {

        /*
         *  Clase Que Empaqueta los scrips y estilos del sistema completo
         */
        public static void RegisterBundles(BundleCollection bundles)
        {

            //Empaquetado de Scripts
            bundles.Add(new ScriptBundle("~/bundle/jquery").Include("~/Scripts/jquery-{version}.js"));
            bundles.Add(new ScriptBundle("~/bundle/modernizr").Include("~/Scripts/modernizr-*"));
            bundles.Add(new ScriptBundle("~/bundle/jqueryval").Include("~/Scripts/jquery.validate*"));
            bundles.Add(new ScriptBundle("~/bundle/jqueryunobtrusive").Include("~/Scripts/jquery.unobtrusive*"));
            bundles.Add(new ScriptBundle("~/bundle/custom-jquery").Include("~/Scripts/CustomScripts/MenuScroll.js",
                                                                            "~/Scripts/CustomScripts/SubMenus.js"
                                                                          ));

            //Empaquetado de Estilos
            bundles.Add(new StyleBundle("~/Content/site-style/master-layout").Include("~/Content/MasterLayout/_MasterCss.css"));


        }
    }
}